//
//  FactionUI.h
//  PacketKithen
//
//  Created by 张文超 on 16/3/7.
//  Copyright © 2016年 张文超. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface FactionUI : NSObject

//定制view
+ (UIView *)createView:(CGRect)frame backColor:(UIColor *)color;

//定制button
+ (UIButton *)createButton:(CGRect)frame title:(NSString *)title titleColor:(UIColor *)color imageName:(NSString *)imageName backImageName:(NSString *)backImageName target:(id)target action:(SEL)action;

//定制label
+ (UILabel *)createLabel:(CGRect)frame title:(NSString *)title titleColor:(UIColor *)titleColor fontSize:(CGFloat)fontSize;


//定制imageView

+ (UIImageView *)createImageView:(CGRect)frame imageName:(NSString *)imageName;

//定制 textField
+ (UITextField *)createTextField:(CGRect)frame placeHoder:(NSString *)placeHoder;

+(UIImage *)getImageWithColor:(UIColor *)color;

@end
